<template>
  <div class="bigBox">
    <div class="nowlist"  v-for="item in hotList" :key="item.id">
      <div class="imgbox">
        <img :src="item.img | imgfilter" />
      </div>
      <div class="cntbox">
        <span class="sp1">{{ item.nm}}</span>
        <br />
        <span class="sp2"><i>{{ item.wish}} </i>人想看</span>
        <br />
        <span class="sp2">主演:{{ item.star}}</span>
        <br />
        <span class="sp2">{{ item.showInfo}}上映</span>
      </div>
      <div class="btnbox">
        <button>预售</button>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  props: {
    hotList: Array,
  },
  data() {
    return {};
  },
  mounted() {},
  methods:{
    
  }
};
</script>

<style lang="scss" scoped>
.bigBox{
  margin-bottom: 50px;
}
.nowlist {
  background: white;
  width: 100%;
  display: flex;
  flex: 1;
  font-size: 16px;
   border-bottom: 1px solid #F9F9F9;
   padding: 10px 0;
  .imgbox {
    width: 20%;
    img {
      width: 90%;
      margin:0 10%;
    }
  }
  .cntbox {
    width: 55%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-left: 10px;
    .sp1 {
      font-size: 17px;
      color: #333;
      font-weight: 700;
    }
    .sp2 {
      font-size: 13px;
      margin-top: 4px;
    color: #666;
      i{
        font-style: normal;
        display: inline-block;
        margin-left: 3px;
        font-weight: 700;
        color: #faaf00;
        font-size: 15px;
        line-height: 30px;
      }
    }
  }
  .btnbox {
    width: 20%;
    position: relative;
    button {
      width: 50px;
      height: 25px;
      position: absolute;
      top: 50%;
      left: 50%;
      margin-left: -25px;
      margin-top: -12px;
      border-radius: 4px;
      background: #3C9FE6;
      box-sizing: border-box;
      border: none;
      color: #fff;
      white-space: nowrap;
      font-size: 12px;
    }
  }
}
</style>
